package com.vogue.supplymall.order.domain.biz;

import com.vogue.supplymall.common.domain.dto.SearchPrepayInfo;
import com.vogue.supplymall.common.domain.dto.UpdatePrepay;

import java.util.List;
import java.util.Map;

/**
 * The type Prepay search biz.
 *
 * @author zhangliang
 * @date Create in 2018-08-01
 */
public interface PrepaySearchBiz {

    /**
     * Search prepay for organ list.
     *
     * @param searchPrepayInfo the search prepay info
     * @return the list
     */
    List<Map<String, Object>> searchPrepayForOrgan(SearchPrepayInfo searchPrepayInfo);

    /**
     * Search prepay for shop list.
     *
     * @param searchPrepayInfo the search prepay info
     * @return the list
     */
    Map<String, Object> searchPrepayForShop(SearchPrepayInfo searchPrepayInfo);

    /**
     * Search prepay for shop detail list.
     *
     * @param searchPrepayInfo the search prepay info
     * @return the list
     */
    List<Map<String, Object>> searchPrepayForShopDetail(SearchPrepayInfo searchPrepayInfo);

    /**
     * Search prepay balance list.
     *
     * @param searchPrepayInfo the search prepay info
     * @return the list
     */
    Map<String, String> searchPrepayBalance(SearchPrepayInfo searchPrepayInfo);

    /**
     * Search AccountPrepay is exist
     *
     * @param searchPrepayInfo the search prepay info
     * @return boolean
     */
    Boolean existAccountPrepay(SearchPrepayInfo searchPrepayInfo);


    /**
     * Search prepay balance list.
     *
     * @param updatePrepay the update prepay
     * @return the list
     */
    Map<String, String> searchPrepayBalanceForCld(UpdatePrepay updatePrepay);
}
